/*
 *this file is part of nseer erp
 *Copyright (C)2006-2010 Nseer(Beijing) Technology co.LTD/http://www.nseer.com 
 *
 *This program is free software; you can redistribute it and/or
 *modify it under the terms of the GNU General Public License
 *as published by the Free Software Foundation; either
 *version 2 of the License, or (at your option) any later version.
 */
package include.nseer_cookie;

import com.xuanwu.esms.client.*;

public class Note {

    public void send(String userName, String password, String cell, String message) {
        Client client = new Client("sendmsgconfig.xml");
        int rePost = client.post(userName, password, cell, message);
    }

    public static void main(String[] args) throws Exception {
        Client client = new Client("sendmsgconfig.xml");
        String userName = "XX";
        String password = "XX";
        int rePost = client.post(userName, password, "13800138000", "玄武测试");
        System.out.println(rePost);
    }
}
